#ifndef FILE_HANGLDING_H_
#define FILE_HANGLDING_H_

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define ITEMS  20

/**
 * Recieves a file descriptor and returns the content of the file as a string
 * removing all its white spaces and in lower case.
 *
 * @param[in]	name  The name of the file
 * @param[in]	long  The length of the string
 *
 * @return	The content of the file. NULL in case of error.
*/
unsigned char * fileToOpen(char* name, long* size);

/**
 * Recieves a file descriptor and returns the content of the file as anarray
 * of ints.
 *
 * @param[in]	name  The name of the file
 * @param[in]	long  The length of the content of the file
 *
 * @return	The content of the file. NULL in case of error.
*/
int * readFile(char* name, long* size);
#endif /*FILE_H_*/
